package factorymethod.product;

/**
 * description:
 *
 * @author yuanmenglv on 2019/11/28
 */
public enum ProductTypeEnum {
    /**
     * 产品A
     */
    PRODUCTA("A", "产品A"),
    PRODUCTB("B", "产品B"),
    PRODUCTC("C", "产品C"),
    PRODUCTD("D", "产品D");

    /**
     * 产品类型
     */
    private String type;
    /**
     * 产品描述
     */
    private String description;

    ProductTypeEnum(String type, String description){
        this.type = type;
        this.description = description;
    }

    public String getType(){
        return type;
    }

    public String getDescription(){
        return description;
    }
}
